# -*-coding:utf-8 -*-
# File  : agentWithdrawStatus_api.py
# Time  ：2021/11/25 11:19
# Author：author name


from api.manage.manage_base import ManageBase


class AgentWithdrawStatusApi(ManageBase):
    def __init__(self, agent_id, status):
        """
        渠道商提现开关接口
        :param agent_id:
        :param status:
        """
        super().__init__()
        self.url = self.host + f"cloudlottery-manage/agent/withdrawStatus?siteId={agent_id}&status={status}"
        self.method = "put"
